﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ComLib;

namespace ShareMarking.Show
{
    public partial class t : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            var id = Request.QueryString["q"];
            switch (id)
            {
                case "1":
                    te.InnerText = "1月：Q宝丁丁亲子魔法盒-安抚音悦小丁丁";
                    Response.Redirect("www.baidu.com");
                    break;
                case "2":
                    te.InnerText = "2月：Q宝丁丁亲子魔法盒-丁丁小魔方";
                    break;
                case "3":
                    te.InnerText = "3月：Q宝丁丁亲子魔法盒-安抚音悦小丁丁";
                    break;
                case "4":
                    te.InnerText = "4月：Q宝丁丁亲子魔法盒-丁丁小魔方";
                    break;
                case "5":
                    te.InnerText = "5月：Q宝丁丁亲子魔法盒-丁丁小魔方";
                    Response.Redirect("www.baidu.com");
                    break;
            }

        }
        protected void Button1_Click(object sender, EventArgs e)
        {
            if (TextBox1.Text == "")
            {
                Response.Write("请输入密码");
            }
            else
            {
                string pwd = DEncrypt.Decrypt(TextBox1.Text);
                TextBox2.Text = pwd;
            }
        }
    }
}